<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
<html>
	<head>
	</head>

	<body>
		结果：
		<br>
		<%
			String result = request.getParameter("EditorDefault");
			out.println(result);
		%>
		文本编辑器:
		<form action="mySampleTest.jsp" method="post">
			<FCK:editor instanceName="EditorDefault">
				<jsp:attribute name="value">This is some <strong>sample text
					</strong>. You are using <a href="http://www.fckeditor.net">
					FCKeditor</a>.
				</jsp:attribute>
			</FCK:editor>
			<br />
			<input type="submit" value="Submit" />
		</form>
	</body>
</html>
